package com.platform.sys.modular.syncdata.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.platform.core.pojo.base.entity.BaseEntity;

/**
 * 要操作其他库的元数据字段配置
 *
 * @author gyp
 * @date 2022-12-04 20:43:04
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("sys_sync_data_source")
public class SyncDataSource extends BaseEntity {

    /**
     *
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 标识
     */
    @Excel(name = "标识")
    private String code;

    /**
     * 要操作的字段
     */
    @Excel(name = "要操作的字段")
    private String operationField;

    /**
     * 要查询字段
     */
    @Excel(name = "要查询字段")
    private String queryField;

    /**
     * 数据状态
     */
    @Excel(name = "数据状态")
    private Integer status;

}
